class GoodsList {
  int? commonId;
  String? goodsId;
  int? goodsIdOne;
  String? commonName;
  String? commonPromotionTips;
  double? commonPrice;
  int? commonSalenum;
  double? commonMarketPrice;
  String commonImage="";
  int? commonState;
  int? commonEvaluate;
  int? commonCollect;
  String? shopName;
  int? shopId;
  int? commonType;
  double? commonBabyPrice;
  int? qty;
  String? avgShippingTime;
  String? commonUpdateTime;
  int? commonIsXian;
  String? activityStatus;
  Object? activityGoodsDetail;
  String? cornerUrl;
  int? shopSelfSupport;
  String? selfGoodsNameUrl;

  GoodsList(
      {this.commonId,
      this.goodsId,
      this.goodsIdOne,
      this.commonName,
      this.commonPromotionTips,
      this.commonPrice,
      this.commonSalenum,
      this.commonMarketPrice,
      this.commonImage="",
      this.commonState,
      this.commonEvaluate,
      this.commonCollect,
      this.shopName,
      this.shopId,
      this.commonType,
      this.commonBabyPrice,
      this.qty,
      this.avgShippingTime,
      this.commonUpdateTime,
      this.commonIsXian,
      this.activityStatus,
      this.activityGoodsDetail,
      this.cornerUrl,
      this.shopSelfSupport,
      this.selfGoodsNameUrl});

  GoodsList.fromJson(Map<String, dynamic> json) {
    commonId = json['commonId'];
    goodsId = json['goodsId'];
    goodsIdOne = json['goodsIdOne'];
    commonName = json['commonName'];
    commonPromotionTips = json['commonPromotionTips'];
    commonPrice = json['commonPrice'];
    commonSalenum = json['commonSalenum'];
    commonMarketPrice = json['commonMarketPrice'];
    commonImage = json['commonImage'] ?? "";
    commonState = json['commonState'];
    commonEvaluate = json['commonEvaluate'];
    commonCollect = json['commonCollect'];
    shopName = json['shopName'];
    shopId = json['shopId'];
    commonType = json['commonType'];
    commonBabyPrice = json['commonBabyPrice'];
    qty = json['qty'];
    avgShippingTime = json['avgShippingTime'];
    commonUpdateTime = json['commonUpdateTime'];
    commonIsXian = json['commonIsXian'];
    activityStatus = json['activityStatus'];
    activityGoodsDetail = json['activityGoodsDetail']??'';
    cornerUrl = json['cornerUrl'];
    shopSelfSupport = json['shopSelfSupport'];
    selfGoodsNameUrl = json['selfGoodsNameUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['commonId'] = this.commonId;
    data['goodsId'] = this.goodsId;
    data['goodsIdOne'] = this.goodsIdOne;
    data['commonName'] = this.commonName;
    data['commonPromotionTips'] = this.commonPromotionTips;
    data['commonPrice'] = this.commonPrice;
    data['commonSalenum'] = this.commonSalenum;
    data['commonMarketPrice'] = this.commonMarketPrice;
    data['commonImage'] = this.commonImage;
    data['commonState'] = this.commonState;
    data['commonEvaluate'] = this.commonEvaluate;
    data['commonCollect'] = this.commonCollect;
    data['shopName'] = this.shopName;
    data['shopId'] = this.shopId;
    data['commonType'] = this.commonType;
    data['commonBabyPrice'] = this.commonBabyPrice;
    data['qty'] = this.qty;
    data['avgShippingTime'] = this.avgShippingTime;
    data['commonUpdateTime'] = this.commonUpdateTime;
    data['commonIsXian'] = this.commonIsXian;
    data['activityStatus'] = this.activityStatus;
    data['activityGoodsDetail'] = this.activityGoodsDetail;
    data['cornerUrl'] = this.cornerUrl;
    data['shopSelfSupport'] = this.shopSelfSupport;
    data['selfGoodsNameUrl'] = this.selfGoodsNameUrl;
    return data;
  }
}
